<div id="user_detail">

<div class="item head_img">
    <div class="gravatar_box">
        <img class="gravatar" origin_src="http://798bin.tk/UploadFiles/UHP/MIN/{{HeadPic}}" alt="{{sexInEnglish}}" />
    </div>
</div>

<div class="user_info item">
    {{#NickName}}{{NickName}} {{/NickName}}
    {{#Age}} , {{Age}}岁{{/Age}} 
    {{#Sex}} , {{Sex}}{{/Sex}}
    {{#location}} , {{location}}{{/location}} 
    {{#SG}} , {{SG}}cm{{/SG}} 
    {{#TZ}} , {{TZ}}公斤{{/TZ}}
    {{#HY}} , {{HY}}{{/HY}} 
    {{#ZY}} , {{ZY}}{{/ZY}}
</div>

<div class="item">
    <b class="title">期望获得</b> {{HD1}}
</div>
<div class="item">
    <b class="title">我能提供</b> {{TG}}
</div>

{{^isSelfPage}}
<div class="func item">
    <p>
        <span class="btn small_btn get_contaces_info">联系方式</span>
        <span class="btn small_btn send_gift">送礼物</span>
        <span class="btn small_btn send_msg">发信息</span>
    </p>
</div>
{{/isSelfPage}}

<div class="item">
    <b class="title">交友目的</b> <span class="text">{{MD}}</span>
</div>

<div class="item">
    <b class="title">我的外貌</b> <span class="text">{{WM}}</span>
</div>

<div class="item">
    <b class="title">我的个性</b> <span class="text">{{GX}}</span>
</div>

<div class="item">
    <b class="title">情爱观念</b> <span class="text">{{XA}}</span>
</div>

<div class="item">
    <b class="title">兴趣爱好</b> <span class="text">{{XQ}}</span>
</div>

{{^isSelfPage}}
<div class="item gift_list wanted_gift_list">
    <b class="title">期望收到的礼物</b>
    <div>
    {{#wantedGiftList}}
    <div class="sub_item">
        <span class="gift_id">{{GId}}</span>
        <div class="gravatar_box">
            <img class="gravatar" origin_src="http://798bin.tk/UploadFiles/GPP/MIN/{{GPicName}}" alt="gift" />
        </div>
        <span class="title">{{GTitle}}</span>
        <span class="price"><b>{{GPrice}}</b> 金币</span>
    </div>
    {{/wantedGiftList}}
    </div>
</div>
{{/isSelfPage}}

<div class="item gift_list received_gift_list">
    <b class="title">最近收到的礼物</b>
    <div>
    {{#receivedGiftList}}
    <div class="sub_item">
        <div class="gravatar_box">
            <img class="gravatar" origin_src="http://798bin.tk/UploadFiles/GPP/MIN/{{GPicName}}" alt="gift" />
        </div>
        <span class="title">{{GTitle}}</span>
        <span class="price"><b>{{GPrice}}</b> 金币</span>
    </div>
    {{/receivedGiftList}}
    </div>
</div>

<div class="item visitors_list">
    <b class="title">最近访客</b>
    <div>
    {{#visitorsList}}
    <div class="sub_item">
        <div class="gravatar_box">
            <img data-user_id="{{UserId}}" class="gravatar" origin_src="http://798bin.tk/UploadFiles/UHP/MIN/{{HeadPic}}" alt="{{sexInEnglish}}" />
        </div>
        <span data-user_id="{{UserId}}" class="nickname"></span>
    </div>
    {{/visitorsList}}
    </div>
</div>

<div class="item diaries_list">
    <b class="title">最新日志</b>
    <div>
        {{#diariesList}}
            <div class="sub_item">
                <span class="diary_id" >{{DId}}</span>
                <span class="title">{{Title}}</span>
                <span class="summary">{{summary}}({{commentCount}}/{{ClickCount}})</span>
                <span class="time">{{time}}</span>
            </div>
        {{/diariesList}}
    </div>
</div>

<div class="item user_album_item">
    <b class="title">相册</b>
    <div class="user_album_box">
        <div class="user_album">
        {{#pictureList}}
        <div class="sub_item">
            <div class="user_picture_box">
            <img id="user_picture_{{Title}}" class="user_picture" origin_src="http://798bin.tk/UploadFiles/UPP/MIN/{{PicName}}" alt="{{photo}}" />
            </div>
        </div>
        {{/pictureList}}
        </div>
    </div>
</div>

</div>

<header>
<h1>用户详细信息</h1>
<a class="button" style="float:left;" onclick="$.ui.goBackWithDefault();" class="">返回</a>
{{#isSelfPage}}
<a class="button update_self_profile" style="float:right;" onclick="window.router.navigate( 'update_self_profile' , {trigger: true});" class="">修改资料</a>
{{/isSelfPage}}
</header>

